package com.coolapk.mapper;

import com.coolapk.entity.NoticedTopic;
import com.coolapk.entity.NoticedTopicExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NoticedTopicMapper {
    long countByExample(NoticedTopicExample example);

    int deleteByExample(NoticedTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NoticedTopic record);

    int insertSelective(NoticedTopic record);

    List<NoticedTopic> selectByExample(NoticedTopicExample example);

    NoticedTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NoticedTopic record, @Param("example") NoticedTopicExample example);

    int updateByExample(@Param("record") NoticedTopic record, @Param("example") NoticedTopicExample example);

    int updateByPrimaryKeySelective(NoticedTopic record);

    int updateByPrimaryKey(NoticedTopic record);
}